﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using Core.Infrastructure.ScreenManager;
using Microsoft.Practices.Unity;
using Core.ScreenStore.View;
using Core.ScreenStore.ViewModel;
using ThemeLoader;

namespace Core.ScreenStore.Screen
{
    public class ArticlesScreen : ScreenBase
    {
        public ArticlesScreen(ArticlesViewModel viewModel,
                              IResourceProvider resourceProvider)
            : base(resourceProvider)
        {
            base.StyleKey = "ArticlesViewStyle";
            base.RegisterView<ArticlesView>();
            base.ViewModel = viewModel;
        }

        #region Properties

        protected ArticlesView ArticlesView { get { return (ArticlesView)this.View; } }

        #endregion

        public override bool CanEnter()
        {
            return true;
        }

        public override bool CanLeave()
        {
            return true;
        }

        public override void CleanUp()
        {
            //
        }
    }
}
